Skip to content

Instantly share code, notes, and snippets.

@mkbctrl
mkbctrl / ai_intent_regonition_and_routing.md
Created May 2, 2025 10:40
Intent Recognition and Auto‑Routing in Multi-Agent Systems

Intent Recognition and Auto‑Routing in Multi-Agent Systems

Modern conversational AI systems often split functionality into multiple tools or sub-agents, each specialized for a task (e.g. search, booking, math, etc.). When a user sends a query, the system must interpret intent and dispatch it to the right tool/agent. There are two broad approaches: letting a general-purpose LLM handle intent detection itself, or using a dedicated router component. In practice, many practitioners use a hybrid: an initial “router” classifies the intent and then a specialized agent or tool handles the task. Below we survey best practices and examples of each approach, referencing frameworks like LangChain and Semantic Router.

LLM-Based Intent Recognition (General-Agent Approach)

A common approach is to have the LLM itself decide which tool or chain to invoke. For example, one can prompt the model to output a JSON field indicating the desired “tool” or “function” (using OpenAI’s function-calling or ChatGPT Pl

@ongkiii
ongkiii / IPA-Sources.md
Last active March 15, 2026 10:48
REPOS/TELEGRAM CHANNELS LIST BY u/angkitbharadwaj
@guilhermelaz
guilhermelaz / Agente de IA Simples - Evolution API.json
Last active March 15, 2026 10:45
Workflow N8N - Agente de IA integrado ao Whatsapp com Evolution API
{
"name": "Agente de IA Simples - Evolution API",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "agente01",
"options": {}
},
"type": "n8n-nodes-base.webhook",
@sidneys
sidneys / iosgods.direct-app-store-ipa-download.js
Last active March 15, 2026 10:44
UserScript | iOSGods App Store | Direct .IPA File Download
// ==UserScript==
// @name iOSGods: Direct App Store .IPA Download
// @namespace de.sidneys.userscripts
// @homepage https://gist.githubusercontent.com/sidneys/
// @version 1.0.0
// @description Download .IPA files directly from the iOSGods App Store (app.iosgods.com) without a "ViP" subscription.
// @author sidneys
// @icon https://app.iosgods.com/apple-touch-icon.png
// @include http*://app.iosgods.com/store/*
// @require https://greasyfork.org/scripts/38888-greasemonkey-color-log/code/Greasemonkey%20%7C%20Color%20Log.js

🏛️ CST370: Sample Code Library

Welcome to the code repository for CST370. Use the links below to access example programs discussed in class.


📂 C++ Examples

"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@alexfazio
alexfazio / codex-exec-experiments.md
Created March 14, 2026 17:21
Codex CLI exec mode experiments: 81 flag/feature tests with raw outputs

Codex CLI Exec Mode Experiments

Date: 2026-03-13 CLI Version: 0.114.0 Total Experiments: 81

Raw experiment outputs from testing various codex exec flag combinations.

Note: Some experiment outputs include MCP (Model Context Protocol) server startup messages (e.g., mcp: flywheel starting, mcp: exa ready). These are from the author's local Codex configuration and do not affect experiment results. Your output may differ depending on your configured MCP servers.

@johnlindquist
johnlindquist / bsp-split-standalone.sh
Last active March 15, 2026 10:31
WezTerm + Claude Code: Multi-Session Workflows with BSP Layouts
#!/bin/bash
# BSP Split: Find largest pane IN CURRENT TAB and bisect it
# Get current pane from environment (set by WezTerm for shells running in panes)
if [ -n "$WEZTERM_PANE" ]; then
CURRENT_PANE="$WEZTERM_PANE"
else
# Fallback: use the pane passed as argument
CURRENT_PANE="$1"
fi
echo ""
echo "************ Github Dork Links (must be logged in) *******************"
echo ""
echo " password"
echo "https://github.com/search?q="hackertarget.site"+password&type=Code"
echo "https://github.com/search?q=""hackertarget""+password&type=Code"
echo ""
echo " npmrc _auth"
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active March 15, 2026 10:29
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under the Quests tab
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter: